﻿<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:s="http://www.codeplex.com/MSSqlSchemaDoc">

  <xsl:template match="s:DataType">
    <table width="100%">
      <tr class="center tableHeader">
        <td>Type</td>
        <td>MaxLength</td>
        <td>Precision</td>
        <td>Scale</td>
      </tr>
      <tr class="center">
        <td>
          <xsl:value-of select="@Name"/>
        </td>
        <td>
          <xsl:value-of select="s:MaxLength"/>
        </td>
        <td>
          <xsl:value-of select="s:Precision"/>
        </td>
        <td>
          <xsl:value-of select="s:Scale"/>
        </td>
      </tr>
    </table>
  </xsl:template>

</xsl:stylesheet>